/*
 * @Date: 2021-12-09 19:48:46
 * @LastEditors: LeeKing
 * @LastEditTime: 2021-12-13 09:48:37
 * @FilePath: \hrsaas\src\store\getters.js
 */
const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  avatar: (state) => state.user.userInfo.staffPhoto,
  name: (state) => state.user.userInfo.username,
  company: (state) => state.user.userInfo.company,
  companyId: (state) => state.user.userInfo.companyId
}
export default getters
